ACPI: add _PDC input override mechanism
authorJan Beulich <jbeulich@novell.com>
Mon, 22 Aug 2011 09:12:36 +0000 (10:12 +0100)
committerJan Beulich <jbeulich@novell.com>
Mon, 22 Aug 2011 09:12:36 +0000 (10:12 +0100)
commit1d6ffea6d04357f92cca684d44e7bed44de7cbcd
tree1a3f9ed447979a7120ee8a10ca1b546c0c366ef9
parent2fba91e1d95292860076efce894c850413de8a15
ACPI: add _PDC input override mechanism

In order to have Dom0 call _PDC with input fully representing Xen's
capabilities, and in order to avoid building knowledge of Xen
implementation details into Dom0, this provides a mechanism by which
the Dom0 kernel can, once it filled the _PDC input buffer according to
its own knowledge, present the buffer to Xen to apply overrides for
the parts of the C-, P-, and T-state management that it controls. This
is particularly to address the dependency of Xen using MWAIT to enter
certain C-states on the availability of the break-on-interrupt
extension (which the Dom0 kernel should have no need to know about).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/ia64/linux-xen/acpi.c
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/acpi/lib.c
xen/arch/x86/platform_hypercall.c
xen/drivers/acpi/pmstat.c
xen/include/acpi/cpufreq/processor_perf.h
xen/include/acpi/pdc_intel.h
xen/include/asm-x86/cpufeature.h
xen/include/public/platform.h
xen/include/xen/acpi.h